const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack:{
    devServer:{
      client:{
        overlay:false
      }
    },
    performance: {
      hints: 'warning',
      maxEntrypointSize: 40000000,
      // 生成文件的最大体积
      maxAssetSize: 20000000,
      assetFilter: function(assetFilename) {
        return assetFilename.endsWith('.js')
      }
    },
  }
});
